package lab02.test09;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        Student s1=new Student();
        System.out.println("请输入学生信息：");
        String no=sc.next();
        s1.setNo(no);
        String classnumber=sc.next();
        s1.setClassnumber(classnumber);
        String name=sc.next();
        s1.setName(name);
        int sex=sc.nextInt();
        s1.setSex(sex);
        int age=sc.nextInt();
        s1.setAge(age);
        System.out.println(s1.toString());

    }
}
